<?php
namespace app\common\model;

use think\Model;

class User extends Model
{
    protected $connection = 'db_config_aiqi';
	public static function getUserByUsername($username)
	{
		$user = User::where('username', $username)->find();
		return $user;
	}	
	
}